package com.maximus;

import com.maximus.server.RedisServer;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

public class ServerMain {
    private static final Logger logger = LogManager.getLogger(ServerMain.class);

    public static void main(String[] args) {

        RedisServer redisServer = new RedisServer(8888);

//        redisServer.bioStart();
//        redisServer.nio();
//        redisServer.nioSingleThreadReactorStart();
//        redisServer.nioMultiThreadReactorStart();
        redisServer.MainSubReactorStart();
    }
}